package com.example.tb_log.log;

/**
 * 打印线程信息
 */
public class TbThreadFormatter implements TbLogFormatter<Thread> {
    @Override
    public String format(Thread data) {
        return "Thread:" + data.getName()+"(name) "+data.getId()+"(id) "+data.getThreadGroup().getName()+"(group) ";
    }
}
